Previous page Next page

WatchDog Operation

The WatchDog server is a separate application designed to monitor the health of the IP Telephone File Server Application main server. The WatchDog application senses which servers the IP Telephone File Server Application is running and periodically requests download files. If the download files fail to arrive, WatchDog triggers a recovery script to reset the IP Telephone File Server Application. Use the Web manager to run the server and modify the INI files as needed. Figure 6 shows the .ini file content.

Figure 6:  WatchDog .ini File Content

[Settings]
 
#================================================================
Version=0.9 Build 1 Created July 11 2004 14:00
# Address of host to monitor (normally local)
HostAddress=127.0.0.1
# Time in seconds between file downloads (min 1)
WatchDogTimer=60
# Total number of failed requests to trigger watchdog
FailureLimit=5
StatusPort=6091
StatusRefresh=10
# Sets the location of the MV_Watchdog log file
LogFile=c:\Program Files\Avaya\MV_Watchdog\log\MV_Watchdog.log
#================================================================

By default, the WatchDog requests files every 60 seconds (WatchDogTimer). If the number of missed files climbs to the FailureLimit setting, a reset takes place within approximately one minute. The WatchDog also counts failures back down to 0, if successful downloads recur before the timer expires.

If a failure occurs, WatchDog executes the following default script files if found:

Linux: /opt/ecs/MV_WatchDog/bin/mv_iptel_alert.sh (this script file restarts the daemons).

Windows: C:\Program Files\Avaya\MV_WatchDog\bin\mv_iptel_alert.bat (this script file stops and restarts the services).

You can modify the scripts to execute any valid commands on the host system, such as setting SNMP traps or sending e-mail.


Previous page Next page